#ifndef _LIST_DRAWING_H
#define _LIST_DRAWING_H

struct spisok_cub
{
	CCub_for_world* kor;
	CVector3 stor;
	spisok_cub* next;
};

class CList_drawing
{
private:
	CCubic* all_cub[15];
	spisok_cub* for_draw[15];
public:
	CList_drawing();
	int set_data(CCub_for_world* P_pcfw,CVector3 P_stor,CCubic* P_pcub);
	void draw();
	void delete_one_cub(spisok_cub* cub_for_del,int i,bool sled);
	int delete_infa_cub(CCub_for_world* P_pcfw,CVector3 P_stor,CCubic* P_pcub);
	~CList_drawing();
};

#endif